package com.wisewin.circle.dao;

import com.wisewin.circle.entity.db.GroupOrderDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface GroupOrderDAO {

    public void insert(@Param("obj")GroupOrderDO groupOrderDO);

    public GroupOrderDO queryGroupOrderByOrderNum(String orderNum);

    public void deleteGroupOrder(Integer groupId);

    public int queryGroupOrderCountWfk(Integer groupId);

    public void deleteGroupOrderByOrderNum(String orderNum);

    public void closeGroupOrder(String orderNum);

    public void confirmGroupOrder(String orderNum);

    public void cancleGroupOrder(String orderNum);

    public void payGroupOrder(GroupOrderDO groupOrderDO);
}
